PASO 8: Vamos a utilizar variables y dot notation para llamar a las figuras por su nombre y asignar acciones.

Utilizamos dot notation para unir el nombre de una figura con la acción que queremos que haga.

  • Ve a y arrastra Move Left. Suéltalo en la parte inferior de tu programa.
  • Cambia el nombre antes de .move_left() a glorp.
  • Cambia el número entero en el comando .move_left() a 150.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)